Current version of the script will not run if stacks-blockchain is directed, this fixes it by changing the directory to stacks-blockchain before running git.
SCRIPT: NVM detected.
SCRIPT: Node.js detected, version: v14.12.0
SCRIPT: Rust detected, version: rustc 1.46.0 (04488afe3 2020-08-24)
SCRIPT: stacks-blockchain directory detected. updating via git.
fatal: not a git repository (or any of the parent directories): .git
Current version of the script will not run if stacks-blockchain is directed, this fixes it by changing the directory to stacks-blockchain before running git.