added option to check out specific branch