[#79692868] proper state setup

adding setup of git state to the base call
which should cover all variant paths