Move fake git path to test target
This moves a mock git path, needed for testing, to the test target of the Makefile. This mitigates potential issues where the fake git script is used instead of the real git executable during various Makefile tasks.
Closes gitlab#239103 (closed)
Edited by Kyle Wiebers