git how to remote local and remote branch code example
Example 1: oevrride localwith remote branch
git reset --hard origin/master
Example 2: git link local branch to remote branch
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'