Perhaps you have noticed the links to Github here and there on “The Howto”. The Github is a repository for code – and for keeping track of your versions of the code. So on Github you can follow your own development. Github is sort of social media for coders.

Setting up your own repository is easy. The somewhat harder part is to connect some of your directories to Github. First you have to install the Git. And then you can either use a GUI or just use commands from a terminal window.

I really like the last option.

If you work on several computers you can always have an updated code. You can even fork other peoples code – and make your own contributions to the work. So the Git is a tool for collaboration.

Git sample from a terminal window.

  • Line 1: add new or updated files. * is a wildcard.
  • Line 2: a message about the file revision.
  • Line 3: pushing the files to the repository.
git add *
git commit -m 'revised upload'
git push origin master

By Per Thykjaer Jensen

Per is the WordPress expert at Business Academy Aarhus. Senior Lecturer at the Multimedia Design Programme. His background is in the Arts: MA Literature History and BA Art History. Later he added a MA in IT, interaction and Multimedia. And he is a wicked Linux user.