Adding existing script

I’m developing and debugging my scripts in VS, is there any other way to add these scripts to the repository than having to click “create new script” and copying and pasting the script there? would be nice to just browse to existing script. or just be able to copy the file to the repository. thanks