Build this package like this: dpkg-builpackage -i.git To avoid the following error: dpkg-source: error: unrepresentable changes to source