Question: what is 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. git branch myNewBranch # Create local branch named "myNewBranch" A remote branch is a branch on a remote location (in most cases origin ). You can push the newly created local branch myNewBranch to origin .