You mean that when for example you do a mvn clean install
you want everything to be done by maven in one step. That is, not only have maven to build and deploy your code, but also have it pull the latest version of your code from git and then build, deploy.
If that is the case then have a look here: How can I do a git pull in Maven?