What is Version Control and why is it used? Version control is a tool that allows users to non-destructively save their work when making many changes to a project. With version control, users can view the state of a project at any given point in time, revert back to a previous version of a project, and more easily collaborate with others on a project.
What's the difference between Git and GitHub? Git is the actual version control tool that manages local repositories, and GitHub is a service that hosts those repositories on the internet.
List of Git Commands:
clone- Copies a repository to your computer from a remote location, such as GitHub
status- Prints out the status of your repository, which includes changes, staged changes, and whether or not you've pushed to the remote branch.
add- Adds onto the list of things that will be commited.
commit -m ""- Officially incorporates all of your added items into the repository alongside a message stating what was changed.
push- Uploads your changes to the remote repository.