Git#
Git is first of all a version control software. A version control is a system that records changes to a set of files over time. We want you to use Git because
it helps you to synchronize your code among different machines, e.g., a Computer Pool, your laptop and the KI4All cluster.
it helps you organizing different versions of code, without tedious copy-pasting of folders.
if you break your code, you can easily revert to an older version.
you can upload your code to a (private or public) remote repository (i.e. on the Internet). Losing your laptop is annoying enough. Make sure your code, the result of hard work of hours, if not years, is safe!
Prerequisites#
In order to create a repository on your local computer git needs to be installed. Git is available for linux/unix, macOS and Windows systems and can be downloaded here.
Furthermore git needs to be accesible in your terminal. Check it by typing
git --version
Want more?#
This Knowledge Base explains the basic steps of creating a Git repository and accessing your code. A very good and detailed overview about git is provided by the free book Pro Git.