function for git packages