Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Certanly it has been, it must've been, but I just don't seem to be able to find it answered already.

What are some good /or mediocre for that matter/ free private git hosting sites out there for storing some private projects? I would use Dropbox but I've heard bad things about how it can screw up the repo on sync.

share|improve this question
I've had success using Dropbox. No sync issues for me. – dbyrne Apr 1 '11 at 3:40
@dbyrne - How do you use it together? I cannot find the link at the moment, but from what I recall, there was some problems with git's and dropbox's "understanding" of what is local/remote and from there how they work together. But if you say there is no trouble, I might try that, if no one suggests anything better. – Rook Apr 1 '11 at 3:54
I had the repo directly in my Dropbox folder and wrote code and committed it directly from there. I never tried to push from a repo managed outside of Dropbox to the Dropbox repo. This probably wouldn't be a good setup for a whole team to use, but for "private projects" it worked fine for me. – dbyrne Apr 1 '11 at 4:04
@dbyrne - If I got it right, you did everything inside your db folder and no trouble arose? Well, that seems exactly like what I had in mind - thanks! I'll try that. – Rook Apr 1 '11 at 4:15

6 Answers

Assembla is what I used before setting up my own server. (free plans)

  • Our free Git hosting provides you with a commercial-quality Git repository for you to host your code securely, and reliably in a good-looking package

  • All of our free Git repositories allow both private and public permissions so you can have full control over who is able to see and commit to your codebase.

BitBucket is mainly a mercurial hosting site but there are plenty of blog posts (e.g. this) that show you how to use git with bitbucket. 5 user plans are free.

  • Unlimited Disk Space
  • Issue Tracking
  • Project Wiki
  • API Support
  • Flexible Permissions
  • Custom Domains
  • RSS Change History
  • Custom Downloads

ProjectLocker 3 Users, 300MBs, 3 Repos for free.

GitFarm is not quite free but at 12 bucks a year, it's pretty close.


Check out this SO discussion. Not all free but lots of good information.

share|improve this answer
2  
+1 Assembla has great free private hosting. I've been using them for about a year now. – Ryan Hayes Apr 1 '11 at 17:33
+1 Bitbucket! I've using for a large project for more than one year. – Cesar Canassa Oct 18 '11 at 18:32
I used to highly recommend Assembla, but they just released a change to their pricing plans putting the squeeze on free accounts. Back on the hunt for a decent free private GIT host that allows more than 2 users. – Dustin Graham May 7 at 0:43

Actually, bitbucket recently added git support, and they allow for free private repos.

share|improve this answer

http://www.unfuddle.com/

JUst started using it for a closed source project, seems to be doing the job, free for 200MB space, unlimited repos, but only 1 project.

share|improve this answer
The support for git on unfuddle is godawful. I strongly recommend avoiding them. The management UI is basically a less functional ripoff of redmine that's clunkier, slower, and less customizable. The git support is tacked on as an afterthought and uses svn metaphors everwhere, even when they don't make sense. – Daenyth Oct 18 '11 at 17:02

I'll clarify on the way that I use Dropbox for my private projects (I use Mercurial, but I doubt there would be much difference in usability).

I have 2 computers and use Dropbox as my central repo for all my code. I'll commit all my changes to my local repo (on the computer I'm using), and then when I'm done coding push all the changes up to the repo I have on Dropbox. On my other computer I'll pull down the latest changes to that computer's local repo. It works perfectly to keep code in sync between my two computers.

share|improve this answer

I'm not aware of your dropbox syncing issue directly, but git does use hardlinks for local copies by default, and I can see how that could cause problems. Make sure to use the --no-hardlinks option when doing a clone and you should be fine. Also, you can save account space by using --bare for your dropbox repo and just pushing and pulling from there to another repo with a working directory.

Also, you may not necessarily need hosting at all. It's pretty easy to set up ssh on one of your own boxes. At work, I share a git repo with a colleague by just making it a shared folder on my computer. For just myself, I've even put a repo on a flash drive before, which can be faster for that first huge clone on a big project.

share|improve this answer

I'm using Google Code.

Other possible options are GitHub and ProjectLocker.

share|improve this answer
2  
Google code does not offer free private hosting. You have to make it public. Same goes for GitHub. I have not tried ProjectLocker yet. – Rook Sep 3 '11 at 16:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.