Specifying Git versions/tags/etc. in XML Config

The XML Format page mentions that you can specify haxelib versions, which is awesome:

<haxelib name="actuate" version="1.0.0" />

How does this work with projects you installed from Git? Can you specify a revision, tag, release, something?

I don’t think you can because in git you only have one folder, the version part only redirects your to another folder in your machine, but maybe I’m wrong.