rename window from git repo or pwd