WDI Fundamentals Unit 7
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, for example, you save your document multiple times with different names so that you can return to different stages 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, 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 built a number of tools to solve the "version control" problem for their own projects. In this course, we'll 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, although 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 was installed along with it, so you should be all set.
As with any software installation, it’s always good to back up your system and data before proceeding.
You can check to see if the installation worked by opening up a terminal window and typing:
$ git --version
This will show you what version of Git is running; your computer should return something greater than or equal to