Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Git Basics Working With Remote Repositories Cloning

Convert an old backup folder system into Git

I see my life without git in black-and white. Now with powerful of git I see power and colours. However, I would like to know if I can convert the past into the present somehow..

The problem: let's say I am working on a project which has 30 folders representing 30 versions of it. I would like to know if I can make this project a repository including all of this history, making each folder a commit or a branch..

The first thought was: I could start a repository with the oldest folder, add each new folder as a new branch and then merge the newest folder/branch with the master (oldest folder). Is this possible? or sane? Do you know an easier way?