(created/git2cpp/fetch.md)=
# git2cpp fetch

```{parsed-literal}
Download objects and refs from another repository


git2cpp fetch [OPTIONS] [&lt;remote&gt;]


POSITIONALS:
&nbsp; &lt;remote&gt; TEXT [origin]      The remote to fetch from

OPTIONS:
&nbsp; -h,     --help              Print this help message and exit
&nbsp;         --depth UINT        deepen or shorten history of shallow clone
&nbsp;         --deepen UINT       deepen history of shallow clone
&nbsp;         --unshallow         convert to a complete repository
```
