The case is pretty simple, I work in branchA and wish to see if there new commits in branchB. And branchA and branchB are completelly different, separated branches, I need neither merge nor pull anything, just to find out if it has new commits or it doesn't. I can pretty simple do it with source tree git client, but I wish to find out how do I check it with git console.
git fetch origin gives me no information about it:
git fetch origin branchB
From https://github.com/user_name/repo_name
* branch offline-mode -> FETCH_HEAD
How do I check if there are new commits in another branch without switching branches?