My experience in college and at coding bootcamps: they don't teach git in college or at coding bootcamps. Sure, they introduce you to it, but that's about it. They don't show you how it actually works or what to do when it breaks, so you wind up doing what it says in this comic.
If you really want to learn git, practice git katas.