2.2 Learning git
What is Git ?
Git, first and foremost, is a version control system, which allows a developer to preserve a history of all changes to source code files in a project, so that old versions can be retrieved if necessary. All changes to source files are also marked with who changed them, so, in projects that involve multiple developers, you always have a record of who changed what. The use of version control is one of the key practices that separate professional programmers from amateurs.
Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people.It is primarily used for source code management in software development but it can be used to keep track of changes in any set of files.
How is Git helpful ?
Git is useful because:
- It allows multiple users to make changes to a file at the same time.
- It keeps track of the changes made and the details of those changes.
- It allows us to rollback to a previous version if any problem occurs.
Following are some of the resources for learning Git :
Try Git — an interactive introduction course on Git. If you study it closely and thoroughly you’ll know enough to perform usual tasks;
Version control: best practices — an article on the best ways of using Git and Github ;
A Git Workflow for Agile Teams — provides insight into the organization of work with Git repository for a team of three or more developers.