GitInitializer is a small python library you can use to generate a git repository whit branches and commits. I've used GitInitializer to make experiments with git without having to recreate a repo each time.
simple n_of_branches n_of_commits
It is the simplest command and is used to create a basic configuration.
n_of_branches: the number of branches you want to generate in your local repository.
n_of_commits: the number of commits on each branch of your local repository.
simple 3 4
This command will generate three branches named new_branch_1, new_branch_2 and new_branch_3. Each branch will have 4 commits.
random
This command generate a random combination of branches and commit on your local repository.
custom couple ...
The custom mode allows you to create your own set of branches and commits providing a list of couples. Each couple should follow this format:
(branch_name, number_of_commits)
custom (hotfix,1) (bug,2) (feature,3)
This command generates two branches named first and second. The first branch will have 3 commits while the second one will have 5 commits.