Git sync forked repo

Some git notes

# fork repo on your account then clone
git clone

# git remote -v to check the fetch and push repo url 
git remote -v

# add the upstream 
git remote add upstream

# sync the fork with the upstream
# if there are conflicts resolve, add changes, commit then merge 
git fetch upstream
git checkout master
git merge upstream/master

# finally push the changes to the fork
git push