How to create new branch that is empty using GitHub REST API?

Hi Team,

I want to put new files in my repository TestRepoSandeep. This repo has a master branch that already contains few files. I want to create a new branch test and commit new files there. This new branch should not contain any files from master. I am trying to create an empty branch but could not figure out how to do this using GitHub REST API and Python.

Please suggest.