open text editor from git bash code example Example 1: bash open file in text editor open -e <filename> Example 2: how to edit a text file in git bash nano hey.txt