title: git push changes to other branch after set of changes are made
body: <p>I currently have an application on "master" and I used a tested script which generates my documentation. </p>
  
  <p>However, I would like to push the changes to my application done after this script has run on a separate branch named "stable".</p>
  
  <p>I tried to create my branch then do a <code>git checkout stable</code> and <code>git pull origin master</code>.</p>
  
  <p>But the changes do not apply.</p>