Now you can easily make changes and contribute to the website in whatever way you like. Your contribution will help build the website, keep it updated and allow the GLUG-NITH community to extend with mutual collaboration. Moreover you will be learning a very famous industry tool git which is covered below.

Brief Introduction to Git and its power

GLUG-NITH website source code is maintained and organised very beautifully via this famous tool called git. This way anyone can make changes to the website even with little knowledge of html, php and javascript. Those who know php and other complex stuff can also make modifications to the website source code which will then directly be reflected on the website after approval of the administrator.

You can add new articles to the website, new projects to the website, new information or anything you like. You can change its footer, header, color or anything. With this type of management of the website source code everything can be changed in whatever way you like. However your change should be meaningful and should be accepted by the GLUG community before approval of your piece of code. At the moment we have excluded the images and other heavy stuff to be included and distributed along with the website source code just to decrease the size of the package that you will download in the following steps.

Above was just a brief introduction of what you can do with the website source code using git. The following few paragraphs will provide you a more brief introduction of how you can make changes to the website source code using this very powerful tool called git.

Installation

Git like any other software can be installed using your standard package manager as :

sudo apt-get install git

in Ubuntu or other Debian distributions. or

yum install git

in Fedora or other RPM based distributions.

The website source code

The website source code is hosted on github.com. Source code repository is at following URL :

https://github.com/Nithmr/glugWebsite

How to contribute ?

This is the website source code but you cannot modify it unless you create your own account on github.com and then fork this repository under your account. By fork, it means a copy of the same website source code for you to make modifications. You will then make changes to this forked website source code and then send a pull request which will be sent to the account on github from which you forked the repository. In our case this account is glugnith. The glugnith owner on github will then see if your pull request should be considered or not. In case of a good change or a good pull request, your request will be approved and will be merged with the main repository which is glugnith repository of website source code i.e from where you forked the repository. The website administrator will then do some little operations to make that github code appear on the main website. Hence, finally your modification will travel to the website along with the approval of glug community.

One thing that must be noted here during this whole process, git manages everything very efficiently. The whole process will migrate your changes from one place to another, not the whole source code(except the first time you clone the repository). So this way alot of bandwidth is saved and you do not need to wait for minutes to download and upload the whole source code if the same had to be accomplished manually without using git.

Apart from this, there are many other advantages of git. Git has all the history of the commits that has been done so far. You can see the git logs for that. You can also change the whole code to an earlier stage, months back.

This way you can very elegantly contribute to glug website source code.

Start using it

By this time, you might be wondering how to accomplish this whole thing. For that you need to be aware of this tool git. There are several references on the internet that can help you in getting familiar with git and start hacking. Since the website source code is hosted on Github and they provide a very good guide to start learning and using git, the best place to start using git is their BootCamp. This will help you in learning git from scratch and at the same time getting familiar with Github interface.

The BootCamp mentioned above will help you in performing basic tasks that should be enough to contribute. For more information and learning more about git and ways to use git, nothing should be better than their official website and documentation here.

Learning Material

If you want to learn more about git than there are plenty of books, websites, and video tutorials online where you can read and watch, both online and offline. The links to directly download them are provided below

  1. Pro Git- It's an official book of the Git and GitHub community written by Scott Chacon and published by Apress.

  2. Version Control with Git- Version Control with Git takes you step-by-step through ways to track, merge, and manage software projects, using this highly flexible, open source version control system.

  3. Git- Version Control for Everyone- A complete beginner's workflow for version control of common documents and content. Examples used are from non-techie, day to day computing activities which we all engage in. Learn through multiple modes - readers learn theory to understand the concept, reinforced with practical tutorials. Ideal for users on Windows, Linux, and Mac OS X.

  4. Pragmatic Guide to Git- Need to learn how to wrap your head around Git, but don't need a lot of hand holding? Grab this book if you're new to Git, but not to the world of programming. Git tasks displayed on two-page spreads provide all the context you need, without the extra fluff.

Great articles

Here are some of the great links to articles which provide you all the information you need to know about git.

  1. How to learn git - A link roundup- This article consists of links to the entire material available on the web related to git. It consists of links to videos, blog, wikis, reference etc. Just click it and start learning.

  2. Git for beginners: The definitive practical guide- An article on stack overflow website consists of all the faq, installation, references to git.