Help needed git clone

Im trying to change an opensource package and im stuck on the first stage
When im running git clone im getting a fatal error of not enough disk space ..
Can I edit a package without this process?
I'm on SNAPSHOT firmware (Xiaomi AX6)

BTW- No USB port

Are you trying to build on your device?

The way to build openwrt is cross compile on a x86-64 pc, or in a vm.

Needs 20gb drive space

I'm on Windows 10 x64, have to use linux vm? or there is more simple option?

You can build in WSL, but an Ubuntu vm will be a lot easier.

There is no other easy way to build images or individual packages.

You could go with a cloud vm, but local is easier