We must change branch before any operation
Use Gem API