<div>
    Set the git username / password credential for <strong>HTTP</strong> and <strong>HTTPS</strong> protocols.

<p>
<strong>Shell example</strong>
<pre>
withCredentials([GitUsernamePassword('my-credentials-id')]) {
  sh 'git fetch --all'
}
</pre>
</p>

<p>
<strong>Batch example</strong>
<pre>
withCredentials([GitUsernamePassword('my-credentials-id')]) {
  bat 'git submodule update --init --recursive'
}
</pre>
</p>

<p>
<strong>Powershell example</strong>
<pre>
withCredentials([GitUsernamePassword('my-credentials-id')]) {
  powershell 'git push'
}
</pre>
</p>

</div>

<div>
    Set the git username / password credential for <strong>HTTP</strong> and <strong>HTTPS</strong> protocols.

<p>
<strong>Shell example</strong>
<pre>
withCredentials([GitUsernamePassword(credentialsId: 'my-credentials-id')]) {
  sh 'git fetch --all'
}
</pre>
</p>

<p>
<strong>Batch example</strong>
<pre>
withCredentials([GitUsernamePassword(credentialsId: 'my-credentials-id')]) {
  bat 'git submodule update --init --recursive'
}
</pre>
</p>

<p>
<strong>Powershell example</strong>
<pre>
withCredentials([GitUsernamePassword(credentialsId: 'my-credentials-id')]) {
  powershell 'git push'
}
</pre>
</p>

</div>

Make docs match working syntax
Make docs match working syntax