Question: what is the difference between local branch and remote branch in git?
Answer: A local branch is a branch that only you (the local user) can see. It exists only on your local machine. A remote branch is a branch on a remote location (in most cases origin ). ... You can update your remote tracking branch to be in sync with the remote branch using git fetch or git pull .