# git crash course for kickstart
**Format**
- Type along?
- Do we have exercices?
**Briefly**
- Why use git? What does it do for you?
- Using it yourself vs using with others
- Starting from scratch vs joining an existing project
**Set up git**
- installation
- email and name config
- ssh vs https
**git clone**
- Clone a repository and see we have the files
**git add**
- To save a file into git
**git commit -m "message"**
- save changes permanently
**git log**
- Look at the previous messages
- This is why descriptive messages are imporntant
**git push**
- See the changes in the browser
**Do we cover**
- Going back to a previous state?
- To get a file: git checkout commit_id file_name
- Undoing current changes (git reset --hard, git checkout file)
**Common problems**
- How do I undo?
- To get a specific file from a previous commit:
- git checkout commit_id file_name
- Not committing often enough
- Trying to be too perfect, falling behind
- Forgetting at all
-
**IDE integration**
- Your IDE probably has some git integration
-
**What you learn next**
- Talk to colleagues
- Keep learning yourself
- Coderefinery
**What if you don't use this?**
- chaos
- you can't reproduce results
- you change something and spend days trying to figure out what broke
**social side**
- networking
- contributing to other projects
- others contribute to your projects
- this is great for your future career