Gitlab Pull a branch to the local machine
<p>I want to copy a branch of the online repository (Gitlab) to my local machine. Let's assume the branch is called "Version1" - then I want to copy this branch to a new branch called "Version2" on my local machine. Because I dont want to overwrite this branch later. The problem i got is the following: Every time I create a new branch on my local machine it is a copy of the branch that I was before. </p>

<pre><code>git pull origin Version1
</code></pre>

<p>does not work as i want.</p>

<p>Would be great if someone could help.</p>