Preface

You don’t have to learn gIt commands, you can download the GitHub Desktop App if you wish to use a GUI, but it is still important to learn about what each function does.

Also in most modern IDEs, there are GUIs for a lot of the git stuff, so the need to type into a command line is even less, but still good to know.

This guide assumes you have at least a basic knowledge of what “source control” is, if not, a quick Google search about “git” or “source control” will do.

Git has too many commands and functions to go over, read it yourself.

Setting up git

Setting up SSH with git (optional, you can always use username password, but this is much faster)

Basic Workflow

  1. Using a command prompt or terminal
  2. Clone the repo with git clone <url>
  3. Navigate your working directory to the git repo
  4. Fetch updates from the remote git fetch
  5. Merge remote changes into your local git pull
  6. Checkout a new branch git checkout -b <branch name>
  7. Make changes