In this program, you will be following a git workfow for version control (tracking and saving changes you make to your files). There are a ton of git commands out there, but the most important ones for right now are below.
Get in the habit of using this workflow early and often, so you can rest easy knowing that if you make a mistake, you can always return to a previous commit and your project will be 'fixed'! We want you to try things, experiment, and sometimes that results in breaking stuff. But with git, you never need to worry that you have irrevocably broken anything 😄
- Make changes to your files
- Add all your changes to git
git add -A
- Commit your changes (get them ready to send to github)
git commit -m "your-commit-message-here"
- Push your changes to github
git push origin master
You can check the status of your local git 'situation' at any time
git status
I highly recommend using this command frequently, especially if you are unsure of where you are in your workflow