Renaming a file is a bit of challenge in GIT:
you basically have to move the file and do a checkin(ideally content of the file) and the remove the old file.
Step1: Move the file in GIT
git mv DowloadFile.ps1 FILE.ps1
git commit “FILE.ps1” –m “message”
Step2: Removing file in git.
Git rm “FILE.ps1”
Git commit . –m “message”
Renaming a file is a bit of challenge in TFS:
Rename the file and folder and then check-in… Simple 🙂