20 Git Tips for 20 Years of Git
Git was released on April 7, 2005, which is exactly 20 years ago! To celebrate this milestone, I have compiled 20 git tips helping you to become a more effective gitter! I also did the same on git's 16th and 17th birthday, but I missed the time git could start drinking alcohol: 16 Git Tips and Tricks, on Git's 16th Birthday 17 Git Best Practices, on Git's 17th Birthday The tips are not in any particular order, and vary from beginner to advanced. I hope you find them useful! 0. Set Up Your Personal Info Properly Start by configuring your name and email globally: git config --global user.name "Your Name" git config --global user.email "your.email@example.com" Also, you can configure these per repository if you need to use different emails (e.g., work vs. personal): git config user.email "work.email@company.com" Bonus: Set up GPG signing too to verify your commits! Signing makes your commits more secure, as it verifies that they were made by you. To learn more, you can refer to my book Docker and Kubernetes Security. Free Chapter - Docker and Kubernetes Security Book | Mohammad-Ali A'RÂBI

Git was released on April 7, 2005, which is exactly 20 years ago! To celebrate this milestone, I have compiled 20 git tips helping you to become a more effective gitter!
I also did the same on git's 16th and 17th birthday, but I missed the time git could start drinking alcohol:
The tips are not in any particular order, and vary from beginner to advanced. I hope you find them useful!
0. Set Up Your Personal Info Properly
Start by configuring your name and email globally:
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
Also, you can configure these per repository if you need to use different emails (e.g., work vs. personal):
git config user.email "work.email@company.com"
Bonus: Set up GPG signing too to verify your commits! Signing makes your commits more secure, as it verifies that they were made by you. To learn more, you can refer to my book Docker and Kubernetes Security.