There are three possible ways to do this:

  • Clone the repository outside of JIRA then connect to it via Connect to Git Repository > Advanced Setup.
  • Clone the repository with the standard Connect to Git Repository Wizard into the JIRA home directory. Soon afterwards, move the cloned repository and update the settings on the repository.
  • You could symlink the {$JIRA_HOME}/data/git-plugin directory to a different volume. The standard Connect to Git Repository Wizard will still write there, but the data will reside on the different volume.