title: How to push only current branch from local to remote repo in git?
body: <p>My local repo has 2 branches: <code>master</code> and <code>doing</code>, I only create commits in <code>doing</code> branch and when I finish the project, I merge it to <code>master</code> branch. When I checkout <code>master</code> branch and push to the remote repo, 2 branches are pushed to the remote. How can I push only <code>master</code> branch to remote repo in order that, commits in <code>doing</code> branch are not appear on remote repo?</p>