For the configuration tho i'm always at a loss (i usually do it once and forget it), checking on google will probably be easy to find the infos.
For updating, i'm not sure about the branch name, i prefer using gitlab, but it should be something like "git pull origin master" (master because it seems to always be on master?)
If you have trouble merging or that it says you have to commit or discard your changes, then you will have to do "git stash" (which will backup your changes) then "git pull origin master" (to update) then "git stash pop" (to re-apply your changes).
If you didn't update for a while or if most of your files are different, i guess you could have merge conflict, but that's where it gets complicated and i'm not of great assistance in that area.