log selectes remote branch automatically