What is Version Control?
What is Git?
Git is a source code manager; more accurately, it’s a distributed version control system. But what exactly does that mean? Let’s break it down.
Git is Development Software
Git is not a language, concept, or best practice. It’s a program, a piece of software that you should use in your development, just like your text editor or FTP client. So what is it for? Git manages your source code … but what does that mean?
Git is for Versioning
The idea behind Git is that it’s a smart idea to keep snapshots of your coding projects. This means that, as you code, at intervals, you declare a point in the history of the project. Think of a timeline, where all the markers represent milestones in your coding. Where you put these markers is up to you, but it’s wise to put them in when you’ve completed something; for example, you might make a mark after each feature you’ve implemented. That way, your project timeline might look something like this:
- Initial Commit (this is a good idea for any project)
- Created folder structure
- Added the CSS and JS files
- Built the main structure
- Added the navigation
Git is like taking a photo of your child every year,to track his growth. If you wanted to make these snapshots manually, you’d have to copy your project directory and rename it every time. Git does this, and much more, for you.
Video source: http://git-scm.com/video/what-is-version-control