git push branch cmd code example
Example 1: git push origin master --force
git push origin --force
Example 2: git link local branch to remote branch
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
Example 3: Push your branch up to the remote.
$ git push <remote> <branch>