I'm setting up a script that downloads application source code from remote git repository and then launches the application build process. For obvious reasons I only need the current state (revision) of codebase to be downloaded - no need for history. Is there a way in git to achieve that? Cloning the whole repository is too painful.