It's good to use the ~/git workspaces, since they are easily edited with Eclipse. Also, Eclipse can run other targets in the ant file (but will it get the right configuration files?)
So create a pseudo-distro based on a branch. It will check both repositories to confirm that they are both set to the desired branch. If not, should it fail, or offer to checkout the branch?