<p>You cannot directly clone a tree you have to first take the full repository then checkout the commit you want.</p>

<p>For the 0.16.1 version execute these commands in a shell:</p>

<pre><code>git clone https://github.com/bitcoin/bitcoin
git checkout dac5d68
</code></pre>

<p>more informations here: <a href="https://stackoverflow.com/questions/43411941/i-cannot-clone-git-tree">https://stackoverflow.com/questions/43411941/i-cannot-clone-git-tree</a></p>

CC BY-SA 4.0
2019-09-07T17:21:59.123Z
Easier: `git checkout v0.16.1`
Pieter Wuille
CC BY-SA 4.0
2019-09-07T14:07:59.637Z
2019-09-07T14:39:33.140Z
2019-09-07T14:39:33.140Z
Saxtheowl
<p>this is the version that I want to clone :</p>

<p><a href="https://github.com/bitcoin/bitcoin/releases/tag/v0.16.1" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/releases/tag/v0.16.1</a></p>

<bitcoin-core>
How can I clone bitcoin 0.16.1 version (not the latest one ) with git command
Ibrahim AL Rashd
# How can I clone bitcoin 0.16.1 version (not the latest one ) with git command

(Asked by: username_0 on 2019-09-07)

this is the version that I want to clone :

<https://github.com/bitcoin/bitcoin/releases/tag/v0.16.1>

**Tags:** bitcoin-core


---

## 1 answers

### Answer by username_1 on 2019-09-07. Score: 1

You cannot directly clone a tree you have to first take the full repository then checkout the commit you want.

For the 0.16.1 version execute these commands in a shell:

```
git clone https://github.com/bitcoin/bitcoin
git checkout dac5d68

```

more informations here: <https://stackoverflow.com/questions/43411941/i-cannot-clone-git-tree>

> **Comments:**
> **username_2**: Easier: `git checkout v0.16.1`  

---

