Lazygit

  1. Press 2, to go to 2. Files
  2. Using / (or single click) to hover over individual changed files
  3. Press o to open the file with your default program, as per xdg-open

Basic Terminal

xdg-open "./dir/dir2/file a.md"