Add support for git macros __GIT_REVISION__ and __GIT_COMMIT__