WDI Fundamentals Unit 2
When you're working on a project – say a painting, a piece of software or an autobiography – there comes a time when you wish you had a reset button.
You might already have a system in place to deal with this problem – maybe you save your document multiple times with different names, so that you can return to a different stage of the project.
Developers call this process "version control."
If you're making copies of a file every time you make a change, your file system might look like this:
While this method works (kinda), it has a number of major limitations.
Now imagine how much more complicated this process becomes once you start working with a team...
Software developers have developed a number of tools to solve the "version control" problem for their own projects; in this course, we will focus on one particularly popular version control program called Git. Git addresses all of the problems mentioned above:
Git is also an excellent tool for working collaboratively on a project, though we won't be using those features right away.
If you don't already have Git, you can install it by downloading the latest release from git-scm.com, double-clicking the downloaded file, and going through the installer.
If you're following along on Windows and installed Git Bash, Git should have been installed along with Git Bash so you should be all set.
As with any software installation, it's always good to backup your system and data before proceeding.
You can check to see if it worked by opening up the terminal and typing:
$ git --version
This will show you what version of Git is running; your computer should return something greater than or equal to