Updated the way to fetch current branch. This solution show all path (i.e. \"feature/a\" instead of just \"a\").