Common code across multiple years and robots.
To use this code set it should be added to your robot's project as a git submodule.
git submodule add https://github.com/2202Programming/Lib2202.git src\main\java\frc\lib2202
This will create a .gitmodules in the parent's project file that looks something like this:
[submodule "src/main/java/frc/lib2202"] path = src/main/java/frc/lib2202 url = https://github.com/2202Programming/Lib2202.git
Robot code will then be based on both your project's repo and the library repo.
If you have trouble switching branches
git switch -f --recurse-submodules
Not sure if this should be --local or --global? git config --local submodule.recurse true