Clear an re-initialize git repo before using it as a composer source