Function to list commits that haven't been pushed yet