BASIC GIT WORKFLOW
- Git is the industry-standard version control system for web developers
- Use Git commands to help keep track of changes made to a project:
git init
creates a new Git repositorygit status
inspects the contents of the working directory and staging areagit add
filename adds files from the working directory to the staging areagit diff
filename shows the difference between the working directory and the staging areagit commit
permanently stores file changes from the staging area in the repositorygit log
shows a list of all previous commits