Merge pull request #13 from guilhem/branch

We must change branch before any operation
Use Gem API