title: Create a branch for a new feature on local branch only or on both local and remote branches?
body: <p>I follow this tutorial : <a href="https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow" rel="noreferrer">gitflow</a></p>
  
  <p>Normally, when I implement a new feature, I create a new branch (only for local), after I finish my changes, I pull the develop branch, merge with my local branch and push back to develop</p>
  
  <pre>
  
  git checkout -b new-feature
  
  git add .
  git commit -m "finish the new feature"
  
  git pull origin develop
  git checkout develop
  git merge new-feature
  git push
  
  </pre>
  
  <p>However, my colleague create a remote branch (branch off from the develop branch). When he finishes with the new feature, he merge with the develop branch.</p>
  
  <p>So, I am wrong or he is wrong? Or both of us are correct?</p>