Open your preferred terminal (Cmd, Powershell, Bash) and run the following command in your desktop directory.
git clone https://github.com/web4bio/webgen
Enter your webgen directory with the following command
cd webgen
Right now you only have the master branch, use this following command to pull the development branch:
git checkout -b development origin/development
Now you are going to create your own branch, which will be the only branch you are working on. Run the following command:
git checkout -b name_of_the_thing_you_want_to_work_on
"Setting up the upstream" basically means telling your current branch which other branch to reference when updating itself with other people's code. To setup an upstream to the development branch, do the following:
git branch --set-upstream-to origin/development
Now let's check that the setup everything is correct with the following command:
git branch -vv
Your terminal should look like this:
This is the layout of the Git branches and an example of the workflow we will try to follow: