GNU/Linux Desktop Survival Guide
by Graham Williams
Using Git for Version Control
20190313 Git is the most widely used version control system today. Microsoft's centralised github platform hosts many and perhaps most of today's open source projects as well as supporting many product teams. In addition to github there is a very popular open source git platform called gitlab which can either host your git repository for you or else you can install your own gitlab server. Another major commercial git provider is bitbucket.
The basic starting point for using git is to clone a pre-existing repository, or a fork of someone else's repository. You can also create your own repository through the various git portals using your web browser. Once you have a git repository that you wish to work on you can clone the repository:
$ git clone firstname.lastname@example.org:gjwgit/audit.git
This will create a copy of the repository on your local drive. You are now ready to make changes to the repository. We will generally assume it is a repository that you have created, forked into your own account, or else have been granted access to as a developer. That is, you have commit access to the repository.
Copyright © 1995-2020 Togaware Pty Ltd