Git is a source code management tool. It has become one of the most common tools for source code management and offers many features that make it suitable for development on large, distributed software projects such as the Linux kernel, for which it was developed.
Remote branches and tracking
- gitlab allows for mirroring a remote repo https://gitlab.com/help/workflow/repository_mirroring.md
- Moodle and git https://docs.moodle.org/33/en/Git_for_Administrators
- more Moodle and git https://moodle.org/mod/forum/discuss.php?d=124570
- and https://www.nathankowald.com/blog/2012/06/using-git-with-moodle/