is there a way to find out where a branch came from?

is there a way to show like the tree structure for the branches created?

say i start from MASTER then to SONAR-VIOLATIONS then to PROJECT_ONE_VIOLATION, what is the command/method to show where the new branches branched from? in sort of a tree structure?

  • How to update pull-requesting site after pull request has been merged?
  • Why did git push origin master draw ASCII art?
  • Securing a Git Repository
  • How to change past commit to include a missed file?
  • How to ignore directories and files only inside a directory
  • What does git rev-parse do?
  • git p4 submit from a bare repository?
  • Since Git is cumulative, how to deal with that for long term when the repo becomes 5GB?
  • How to keep readme from being web accessible
  • How do you revert with sourcetree?
  • git pull gives error: 401 Authorization Required while accessing
  • how to use tortoise git without a server (local single user)
  • One Solution collect form web for “is there a way to find out where a branch came from?”

    One of the simplest solution would be git log --graph (better with --oneline and --decorate options).

    Git Baby is a git and github fan, let's start git clone.