code optimized for git clone support