Take the 2-minute tour ×
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
add comment

closed as off-topic by gnat, GlenH7, MichaelT, World Engineer Sep 16 '13 at 21:31

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – gnat, GlenH7, MichaelT, World Engineer
If this question can be reworded to fit the rules in the help center, please edit the question.

7 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 '13 at 0:43
add comment

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

share|improve this answer
add comment

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
add comment

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
add comment

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
add comment

Yep there is a free private Git repository. It is called Gitlab.

GitLab is a fast, secure and stable solution to manage your projects. It is based on Ruby on Rails and has a free and open-source license (MIT). GitLab is the most installed git management application in the world.

Features:

  • If you have 10 users or less you pay nothing!
  • Unlimited private repositories for everyone
  • goodlooking diff views
  • merge requests for code review
  • line specific comments
  • issues with attachments
  • issue labels and assignments
  • issue milestones / sprints
  • link to an external issue tracker
  • activity feed per project
  • user dashboard with filters
  • a wiki which is stored in git
  • project wall
  • code snippets
  • branches and a network graph
  • unique permission levels per user and project (guest, reporter, developer, master, owner)
  • protected branches (only masters can push to protected branches)
  • forking of repo's
  • teams consisting of multiple people
  • groups consisting of multiple projects
  • multiple deploy keys are possible for the same project
  • multiple projects are possible for the same deploy key
  • global and per project notification settings
  • http(s) and ssh git access
  • LDAP support
  • web hooks
  • convenient backups
  • administrative interface
  • web based editor
  • code search

Screenshots:

Dashboard

Commits

See more Screenshots here

In my opinion it's the best service which is currently availaible. You can choose if you want to make your project public or private. Default is private. And it's up to 10 Users free & fast as hell.

share|improve this answer
add comment

I'm using Google Code.

Other possible options are GitHub and ProjectLocker.

share|improve this answer
3  
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
add comment

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