1. checkout into master and do your work and push it into master .

 2. checkout into release and merge with master and push it into release.

 3. checkout into master.