Git and Github


Tech Musings

Git is a distributed version control system and it differs from a centralized version control system like SVN in quite a few respects.

SVN involves a central repository. Each client then checks out a copy of this repository to make a local copy called the ‘Working directory’. Each client makes changes to his own working directory. The changes are committed to the Central repository when the client checks in i.e.commits the code.The central repository maintains the older versions of the code as well. Hence the client can rollback his working directory to a previous version of code from the central repository.

Git (–distributed is the new centralized) also includes a central repository. But in addition to the central repository, each client has his own repository on his local machine. Essentially, the working directory in this case acts as a repository in itself. Commits, rollbacks etc are to be done first…

View original post 785 more words