git subtree - a better alternative to git submodule

To manage a lot of libraries at work, we once decided to use git submodules. The idea looked easy. Create a submodules/ directory in the main repo and then every library is checked out in the directory as a submodule. This idea had some additional benefits, every library had its…