It’s a very annoying issue with gitbash connecting to Centos via SSH and when trying to edit text with vim or vi, backspace key just changed into question mark.
I found the following fix may be applied to Gitbash or Putty as following:
`Putty`: Putty Configuration > Terminal > Keyboard: Select `Control-H` for the backspace key `Gitbash`: Gitbash Options > Keys: select `Backarrow sends ^H`