You can still use bitbucket on your own hardware with http://www.atlassian.com/software/stash/pricing
(Not affiliated with Atlassian/Bitbucket in any way - but I love their software)
(Not affiliated with Atlassian/Bitbucket in any way - but I love their software)