How to find the first commit in a Git branch?
$ git log <source_branch>..<feature_branch> --oneline | tail -1
Reference