You can grab the script here (Option-click to download.)
You'll need to
chmod a+x virtualhost.sh in order to run it after downloading.
See the wiki
A script for Mac OS X to create virtual hosts under Apache
Fetching latest commit…
Cannot retrieve the latest commit at this time