I am looking for the best way to integrate Git with Ant. Is there a widely used Ant task for Git? Does anyone have any experience using Git through Ant (e.g. dedicated task, exec call, etc)?
Ant supports the exec command that you can use to pass any command (including Git) to the command line for execution. You can always fall back on that.