The directory called tests is included in the build of three_merge because it is a subdirectory of it. It should probably be on the same level, and then the tests will be run but not installed in the final package; this seems to be standard practice. The following command should do the job: git mv three_merge/tests tests