You can clone with
HTTPS or Subversion.
Look at how in symfony you can generate new stuff. A step by step system asks you questions in a command line UI. You can see a video of it in action at http://symfony.com/.
How about something like this for creating packages. And another command for dealing with updates to package files.