There are lots of ways to learn git, here are some suggestions. If you want to read about git and/or watch some videos start in the non-interactive section. If you prefer to play with actual commands to learn then start in the interactive section.
The first two start out in the web browser then git immersion helps you setup git on your machine and walk through examples on your actual machine.
- https://www.codecademy.com/learn/learn-git
- https://www.pluralsight.com/courses/getting-started-git (subscription needed)
- http://gitimmersion.com/
My favorite web tool for being able to mentally visualize what happens when you run different git commands. http://learngitbranching.js.org/
- https://www.git-tower.com/learn/git/ebook/command-line/introduction
- https://www.git-tower.com/learn/git/videos#episodes
- https://www.git-tower.com/learn/cheat-sheets/git
- http://rogerdudler.github.io/git-guide/files/git_cheat_sheet.pdf
- https://education.github.com/git-cheat-sheet-education.pdf
This is a very good graphical tool for Mac and Windows users and makes git painless for you. https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/installing-github-desktop
If you have a Mac you can run GitUp which provides a visual representation of your repository as well as quick ways to do some more complicated command line commands. http://gitup.co/
SourceTree has the advantage of working on windows and Mac. You have to make an Atlassian account to use it for free past 30 days but it is free. https://www.sourcetreeapp.com/
This looks like it will be a nice free tool, but I’m waiting on an invite. http://www.gitkraken.com/