Git sync fork

@kevgo please review
To be uniform with the rest of the script, use 

```bash
local_branch_name=`get_current_branch_name`
```