Merge remote-tracking branch 'origin/develop'
fix(sync.js): trim dead branches on set

Related #52
chore(release): bump version to 3.1.1
Merge remote-tracking branch 'origin/mattcreager/hotfix-3.1.1' into develop