How to use Git to manage the Flutter SDK
An alternative way to install the Flutter SDK is using Git.
Since Flutter is open source and hosted on GitHub, if you clone the main Flutter repository, you’ll already have everything you need. As an added bonus, you can easily change to different versions of the Flutter SDK when needed.
The packages that are available to download on Flutter’s website are snapshots from the Git repository. Flutter uses Git internally to manage its versions, channels, and upgrades.
Installing Git
First, you need to make sure you have Git installed on your computer. Git is installed by default on most Mac and Linux machines. For Windows, you can download and install Git here: https://git-scm.com/download/win.
You can also download a Git client to make working with repositories a bit easier. Tools such as Sourcetree
(https://www.sourcetreeapp.com) or GitHub Desktop (https://desktop.github.com) can simplify working with Git....