title: How to push changes to branch?
body: <p>Can you explain me how to use git in case, when I have access to repository:</p>
  
  <ul>
  <li>How to download repository</li>
  <li>How to push changes in selected branch</li>
  <li>How to select branch to push</li>
  </ul>
  
  <p>I tried these steps</p>
  
  <pre><code>git init
  git clone git.repository
  git pull develop  (where develop is branch)
  git add .
  git commit -m "m"
  git push origin develop
  </code></pre>
  
  <p>Result is:</p>
  
  <pre><code>* branch            develop    -&gt; FETCH_HEAD
  fatal: refusing to merge unrelated histories
  </code></pre>
  
  <p>What I do wrong?</p>