Given a project with several local branches, each tracking some remote branch, is there a command that lists all branches that have unpushed commits? (That is, even if none of t
although the answers above are very helpful and show alot of data but
for others coming here looking for a solution to find local branches which are ahead i.e. have not been pushed yet. can get the exact list by executing: