If I execute mvn install for first time. It will create target folder under which git repository will be created.
I want, if I execute mvn install on that project (without cleaning):
If pom defines that repository with same branch then just
git pullandcheckoutIf pom defines that repository with another branch then
git pullandcheckoutIf local repository is not found, then
clonefrom remote git repository