A different solution, that's a little more embedded in the Github and Ruby world: homesick (https://github.com/technicalpickles/homesick).

I use the Bash version, homeshick. Works great. https://github.com/andsens/homeshick