How to copy a local Git branch to a remote repo

According to git push manual page: git push origin experimental Find a ref that matches experimental in the source repository (most likely, it would find refs/heads/experimental), and update the same ref (e.g. refs/heads/experimental) in origin repository with it. If experimental did not exist remotely, it would be created. This is the same as: git push … Read more