Showing worktree information in the shell prompt

How to show your worktree in shell prompt