Updated tnew command to only name window git if it is a git repo.