Read CLI params from file let say there is a file file origins.txt main secondary backup It can be used as shown below > git fetch $(cat < ./origins.txt) This will be an equvalent of > git fetch main secondary backup