You say the code does:
CD "[Path to my local git repo]"
But when the .bat file is run by Publisher it is running as your QlikView Distribution Service Account.
So "Path to my local git repo" might not mean anything within the context of that QDS Account.
Also that account might not have access to you git backend service in order to do any pull.
I do not think that is the problem because we have set up Git using the account running QDS. Also the path to the git repo is general so it would be the same for all users logged on to that machine.
Thanks for your input and I will fiddle around a little just to make sure that it's not what you suggested