Git tips

Sync with remote repository

check the all the config parameter

git config --list

check the remote settings

git remote -v

setting upstream attribute

git remote add upstream (the url)

git fetch upstream

Then go to certain branch.

git merge upstream/master(or other branch name)