# Setting up dev enviroment Fork the commons repo from github. Now clone this repo to your local machine. Enter the following in terminal (Gitbash for windows users) ``` git clone https://github.com//apps-android-commons.git ``` Do `git remote -v`. It will probably show you ``` origin https://github.com//apps-android-commons.git (fetch and push) ``` Then add the upstream remote ie. commons repo by using ``` git remote add upstream https://github.com/commons-app/apps-android-commons.git ``` Now `git remote -v` will show ``` origin https://github.com//apps-android-commons.git (fetch and push) upstream https://github.com/commons-app/apps-android-commons.git (fetch and push) ``` Change to the repository on your local computer ``` cd ``` Now, create a branch ``` git checkout -b ``` When you are done making changes, make a commit ``` git commit -m ``` To push ``` git push origin ``` Whenever you need to pull ``` git pull origin ``` To pull from original commons use ``` git pull upstream ```