Wrap git_index
Test the index code slightly
Merge pull request #4 from carlosmn/index

Wrap the index and test it a bit