# Git Bash and how to get repository with it

**URL:** <https://discourse.processing.org/t/git-bash-and-how-to-get-repository-with-it/14527>\
**Category:** Processing\
**Created:** [October 8, 2019, 5:45pm UTC](https://discourse.processing.org/t/git-bash-and-how-to-get-repository-with-it/14527 "2019-10-08T17:45:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathilde.lavoie](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mathilde.lavoie](https://discourse.processing.org/u/mathilde.lavoie)\
**Post date:** [October 8, 2019, 5:45pm UTC](https://discourse.processing.org/t/git-bash-and-how-to-get-repository-with-it/14527/1 "2019-10-08T17:45:11Z")

</div>

Hi there can someone explain me how to get a repository from Git Hub and open it in Processing using the application Git Bash, i dont find the answer online. Thanks for the answer!

---

<div class="post-metadata">

**Author:** ![figraham](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/figraham/32/4161_2.png) [@figraham](https://discourse.processing.org/u/figraham)\
**Post date:** [October 11, 2019, 8:15pm UTC](https://discourse.processing.org/t/git-bash-and-how-to-get-repository-with-it/14527/2 "2019-10-11T20:15:07Z")

</div>

In git bash, navigate to where you want the repository on your local machine using cd (change directory). Use git clone like:

```bash
git clone https://github.com/username/reponame.git

```

(you can get the url on the repository page if you click on the green clone button top right of the page)

Then open the processing ide. File\>Open navigate to where you to where you cloned the project and select a .pde file. Processing should be smart enough to open all .pde files in the project.

Dan Shiffman has a [good video series](https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZF9C0YMKuns9sLDzK6zoiV) on how to use git and github which covers using things like clone and branch.
