change checking unpushed commits logic (check only current branch)