using git-core to remove unecessary deps