To work with Git, the Git plugin must be configured to build one branch AND to checkout to the same local branch.
The remote URL should allow Read+Write access.
The Bamboo Artifactory Plugin uses the Git client installed on the machine and uses its credentials to push back to the remote Git repository.
During the release, the plugin performs the following steps:
If Create Branch is checked, create and switch to the release branch.
Commit the release version to the current branch.
Create a release tag.
Push the changes.
Switch to the checkout branch and commit the next development version.
Push the next development version to the working branch
Bamboo's Git plugin allows the use of shallow clones, however this causes the "push" not to work.
Therefore, when using the Artifactory Bamboo Plugin, you must have shallow clones unchecked.
For more information about shallow clones, please refer to git-clone Manual Page.