Unable to commit

Hi,

when executing git commit I get error:

Your work tree has not been configured for Slicer development.
Paste the following commands into a shell:

  ./Utilities/SetupForDevelopment.sh

See
http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/DevelopmentWithGit
 for more information.

When I past the command directly to the powershell ./Utilities/SetupForDevelopment.sh it simply opens it in text editor.

To execute I change its eextension to ps1 and then I get error:

PS C:\S> ./Utilities/SetupForDevelopment.ps1
At C:\S\Utilities\SetupForDevelopment.ps1:8 char:19
+ printErrorAndExit() {
+                   ~
An expression was expected after '('.
At C:\S\Utilities\SetupForDevelopment.ps1:9 char:47
+   echo 'Failure during git development setup' 1>&2
+                                               ~~~~
The '1>&2' operator is reserved for future use.
At C:\S\Utilities\SetupForDevelopment.ps1:10 char:47
+   echo '------------------------------------' 1>&2
+                                               ~~~~
The '1>&2' operator is reserved for future use.
At C:\S\Utilities\SetupForDevelopment.ps1:11 char:11
+   echo '' 1>&2
+           ~~~~
The '1>&2' operator is reserved for future use.
At C:\S\Utilities\SetupForDevelopment.ps1:12 char:13
+   echo "$@" 1>&2
+             ~~~~
The '1>&2' operator is reserved for future use.
At C:\S\Utilities\SetupForDevelopment.ps1:19 char:3
+ if test -d .git/.git; then
+   ~
Missing '(' after 'if' in if statement.
At C:\S\Utilities\SetupForDevelopment.ps1:36 char:16
+ ./SetupUser.sh || exit 1
+                ~~
The token '||' is not a valid statement separator in this version.
At C:\S\Utilities\SetupForDevelopment.ps1:40 char:17
+ ./SetupHooks.sh || exit 1
+                 ~~
The token '||' is not a valid statement separator in this version.
At C:\S\Utilities\SetupForDevelopment.ps1:44 char:14
+ ./GitTips.sh || exit 1
+              ~~
The token '||' is not a valid statement separator in this version.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : ExpectedExpression

Can’t understand what happened.

I just figured out that I needed to run it within GIT Bash